package org.com.coolfish.common.database.service;


import java.math.BigDecimal;
import java.util.List;

import org.com.coolfish.common.database.entity.KuyuAgentAccount;
import org.com.coolfish.common.database.entity.KuyuCard;
import org.com.coolfish.common.database.entity.kuyuAgentCommission;
import org.com.coolfish.common.database.repository.KuyuAgentAccountRepository;
import org.com.coolfish.common.database.repository.kuyuAgentCommissionRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Service
public class kuyuAgentAccountService {
	@Autowired
	private KuyuAgentAccountRepository repository;
	
	@Transactional
    public KuyuAgentAccount queryOldMoney(Integer aid){
    	return repository.queryOldMoney(aid);
    }
	
	
}
